﻿#pragma once

#include "Notification/EditorNotificationItemView.h"
#include "EditorSimpleMessageNotificationItemView.m.h"

class REditorSimpleMessageNotificationItemViewModel;

//一条简易的通知，只有文本
RCLASS()
class REditorSimpleMessageNotificationItemView : public REditorNotificationItemView
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorNotificationItemViewModel> InViewModel) override;

    //在通知窗口中创建控件
    virtual void FillWidget(
        TSharedObjectPtr<RWidget> InParentWidget
        ) override;

protected:
    TWeakObjectPtr<REditorSimpleMessageNotificationItemViewModel> SimpleMessageViewModel;

};